<html>
<head><meta charset="utf-8"><title>generator value moved · t-libs · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/index.html">t-libs</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/generator.20value.20moved.html">generator value moved</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="190246783"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/generator%20value%20moved/near/190246783" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Sebastian Köln <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/generator.20value.20moved.html#190246783">(Mar 11 2020 at 03:05)</a>:</h4>
<p>rustc (just compiled) claims that a value is moved when I try to use it after a yield point. Is this a known bug?</p>



<a name="190257597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/generator%20value%20moved/near/190257597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Sebastian Köln <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/generator.20value.20moved.html#190257597">(Mar 11 2020 at 08:02)</a>:</h4>
<p>nevermind, I am an Idiot and can't write macros. The value was use twice in the macro.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>